package com.fjzx.frame.api;

import com.fjzx.frame.entity.BaseResponse;
import com.fjzx.frame.entity.HomeResponse;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * @author xiongyongcong
 */
public interface Api {
    @GET("http://www.wanandroid.com/article/list/{page}/json")
    Call<BaseResponse<HomeResponse>> getHomeArticals(@Path("page") int page);
}
